package com.JFapp.service;

import com.JFapp.domain.dto.ChangeRepairStatusDto;
import com.JFapp.domain.entity.Repair;
import com.JFapp.domain.entity.ResponseResult;
import com.JFapp.domain.vo.RepairVo;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * 订单管理(Repair)表服务接口
 *
 * @author makejava
 * @since 2023-12-28 17:28:23
 */
public interface RepairService extends IService<Repair> {

    ResponseResult addRepair(Repair repair);

    ResponseResult<RepairVo> selectRepairByCreatId(Integer pageNum, Integer pageSize);

    ResponseResult receptionRepair(ChangeRepairStatusDto changeRepairStatusDto);

    ResponseResult updateRepairById(Repair repair);

    ResponseResult<RepairVo> selectRepair(Integer pageNum, Integer pageSize);

    ResponseResult cancelRepair(Repair repairId);

    ResponseResult completeRepair(Integer pageNum, Integer pageSize);

    ResponseResult complete(Repair repair);

    ResponseResult informNew(Repair repair);

    ResponseResult getRepairing(Integer pageNum, Integer pageSize);

    ResponseResult getDetailById(Long repairId);
}
